//
//  ContractTermsCell.m
//  SAP
//
//  Created by 中矿科技有限公司 on 17/9/11.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#import "ContractTermsCell.h"


@implementation ContractTermsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setFromContractTermsModel:(SAProvision *)model{
    self.tewmsLabel.text = [NSString stringWithFormat:@"质量和数量验收标准及方式:\n  %@\n煤炭单价及执行期:\n  %@\n货款及运杂费结算方式:\n  %@\n违约责任:\n  %@\n解决合同纠纷的方式:\n  %@\n其他约定事项:\n  %@",model.acceptanceCriteria,model.priceExecutionPeriod,model.settlementMethod,model.breachContract,model.resolveDispute,model.other];
    
}


@end
